package com.youlei.newgraduateproject.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.youlei.newgraduateproject.entity.SysUser;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author youlei
 * @since 2021-05-08
 */
public interface SysUserService extends IService<SysUser> {

    SysUser getByUserName(String username);

    String getUserAuthorityInfo(Long userId);

    void clearUserAuthorityInfoByUsername(String username);

    void clearUserAuthorityInfoByRoleId(Long roleId);

    void clearUserAuthorityInfoByMenuId(Long menuId);


}
